<?php

/* 2016-01-07 10:21:50 */

class learn extends ControllerAbstract

{

	public function index()

	{

		header('Content-Type:text/html; charset=utf-8');

		htmlHead('欢迎进入新模块！');

		import("learn","index","js");

		import("learn","index","css");

		echo '</head><body>';

		echo '<p id="navi">

		<a href="'.HOME.'guest.php">首页</a> 

		<a href="'.APP.'/learn/learn.php?sid='.crypt("HTML5","learn").'">Applet</a> 

		<a href="'.APP.'/learn/learn.php?sid='.crypt("applet","learn").'">Applet</a> 

		<a href="'.HOME.'file.php?sid=firjrtL6gQ/lU">Back</a>

		</p>';

		echo '<p>learn App创建成功</p>';

		echo '<p><b>(^_^)</b></p>'; 

		import("learn","index");

		echo '</body></html>';

	}

	public function applet()
	{	
		//applet小程序早已被Flash取代
		header('Content-Type:text/html; charset=utf-8');
		htmlHead('Applet -java 小程序应用！');
		import("learn","applet","js");
		import("learn","applet","css");
		echo UTFHB;
		echo '<p id="navi">
		<a href="'.HOME.'guest.php">首页</a> 
		<a href="'.APP.'/learn/learn.php">Back</a>
		</p>';
		import("learn","applet");
		echo ENDBH;
	}

	public function html5()
	{
		htmlHead('HTML5 学习！');
		import("learn","html5","js");
		import("learn","html5","css");
		echo UTFHB;
		import("learn","html5");
		echo ENDBH;
	}
}

?>

		